import { createApp } from 'vue';
import store from './store';
import router from './router';
import App from './App.vue';

/* 引入elementplus messgbox 等的样式问题 */
import '@/styles/elementpluscss.js';
const app = createApp(App);
// import './static/iconfont';

// elsement icon
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
import 'element-plus/theme-chalk/dark/css-vars.css';

app.use(router).use(store).mount('#app');
